import { combineReducers, createStore } from 'redux'
import cartReducer from './modules/cart'

const reducer = combineReducers({
  car: cartReducer
})

// 创建仓库
const store = createStore(reducer)

export default store